package com.xuanxu.blogs.framework.swagger.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author XuanXu
 * @version 1.0
 * @date 2024-08-19 13:21
 */
@Data
@ConfigurationProperties(prefix = "xuanxu.swagger")
public class SwaggerProperties {

    private SwaggerEntity adminSwagger = new SwaggerEntity();
    private SwaggerEntity appSwagger = new SwaggerEntity();
    private String title = "";
    private String description = "";
    private String version = "";

    @Data
    static class SwaggerEntity {
        private boolean enable = false;
        private String groupName = "";
        private String basePackage = "";
    }


}
